Optimal. Leaf size=113 \[ -\frac {3 a \sqrt {b x^{2/3}+a x}}{4 x}-\frac {3 a^2 \sqrt {b x^{2/3}+a x}}{8 b x^{2/3}}-\frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^2}+\frac {3 a^3 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {b x^{2/3}+a x}}\right )}{8 b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 113, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {2045, 2050,
2054, 212} \begin {gather*} \frac {3 a^3 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {a x+b x^{2/3}}}\right )}{8 b^{3/2}}-\frac {3 a^2 \sqrt {a x+b x^{2/3}}}{8 b x^{2/3}}-\frac {3 a \sqrt {a x+b x^{2/3}}}{4 x}-\frac {\left (a x+b x^{2/3}\right )^{3/2}}{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2045
Rule 2050
Rule 2054
Rubi steps
\begin {align*} \int \frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^3} \, dx &=-\frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^2}+\frac {1}{2} a \int \frac {\sqrt {b x^{2/3}+a x}}{x^2} \, dx\\ &=-\frac {3 a \sqrt {b x^{2/3}+a x}}{4 x}-\frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^2}+\frac {1}{8} a^2 \int \frac {1}{x \sqrt {b x^{2/3}+a x}} \, dx\\ &=-\frac {3 a \sqrt {b x^{2/3}+a x}}{4 x}-\frac {3 a^2 \sqrt {b x^{2/3}+a x}}{8 b x^{2/3}}-\frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^2}-\frac {a^3 \int \frac {1}{x^{2/3} \sqrt {b x^{2/3}+a x}} \, dx}{16 b}\\ &=-\frac {3 a \sqrt {b x^{2/3}+a x}}{4 x}-\frac {3 a^2 \sqrt {b x^{2/3}+a x}}{8 b x^{2/3}}-\frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^2}+\frac {\left (3 a^3\right ) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {\sqrt [3]{x}}{\sqrt {b x^{2/3}+a x}}\right )}{8 b}\\ &=-\frac {3 a \sqrt {b x^{2/3}+a x}}{4 x}-\frac {3 a^2 \sqrt {b x^{2/3}+a x}}{8 b x^{2/3}}-\frac {\left (b x^{2/3}+a x\right )^{3/2}}{x^2}+\frac {3 a^3 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt [3]{x}}{\sqrt {b x^{2/3}+a x}}\right )}{8 b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 10.06, size = 61, normalized size = 0.54 \begin {gather*} \frac {6 a^3 \left (b+a \sqrt [3]{x}\right )^2 \sqrt {b x^{2/3}+a x} \, _2F_1\left (\frac {5}{2},4;\frac {7}{2};1+\frac {a \sqrt [3]{x}}{b}\right )}{5 b^4 \sqrt [3]{x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.39, size = 93, normalized size = 0.82
method | result | size |
derivativedivides | \(-\frac {\left (b \,x^{\frac {2}{3}}+a x \right )^{\frac {3}{2}} \left (3 \left (b +a \,x^{\frac {1}{3}}\right )^{\frac {5}{2}} b^{\frac {3}{2}}-3 \arctanh \left (\frac {\sqrt {b +a \,x^{\frac {1}{3}}}}{\sqrt {b}}\right ) b \,a^{3} x +8 \left (b +a \,x^{\frac {1}{3}}\right )^{\frac {3}{2}} b^{\frac {5}{2}}-3 \sqrt {b +a \,x^{\frac {1}{3}}}\, b^{\frac {7}{2}}\right )}{8 x^{2} \left (b +a \,x^{\frac {1}{3}}\right )^{\frac {3}{2}} b^{\frac {5}{2}}}\) | \(93\) |
default | \(\frac {\left (b \,x^{\frac {2}{3}}+a x \right )^{\frac {3}{2}} \left (-3 \left (b +a \,x^{\frac {1}{3}}\right )^{\frac {5}{2}} b^{\frac {3}{2}}-8 \left (b +a \,x^{\frac {1}{3}}\right )^{\frac {3}{2}} b^{\frac {5}{2}}+3 \arctanh \left (\frac {\sqrt {b +a \,x^{\frac {1}{3}}}}{\sqrt {b}}\right ) b \,a^{3} x +3 \sqrt {b +a \,x^{\frac {1}{3}}}\, b^{\frac {7}{2}}\right )}{8 x^{2} \left (b +a \,x^{\frac {1}{3}}\right )^{\frac {3}{2}} b^{\frac {5}{2}}}\) | \(93\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a x + b x^{\frac {2}{3}}\right )^{\frac {3}{2}}}{x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.58, size = 92, normalized size = 0.81 \begin {gather*} -\frac {\frac {3 \, a^{4} \arctan \left (\frac {\sqrt {a x^{\frac {1}{3}} + b}}{\sqrt {-b}}\right )}{\sqrt {-b} b} + \frac {3 \, {\left (a x^{\frac {1}{3}} + b\right )}^{\frac {5}{2}} a^{4} + 8 \, {\left (a x^{\frac {1}{3}} + b\right )}^{\frac {3}{2}} a^{4} b - 3 \, \sqrt {a x^{\frac {1}{3}} + b} a^{4} b^{2}}{a^{3} b x}}{8 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a\,x+b\,x^{2/3}\right )}^{3/2}}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________